<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
using System;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Xml;
using System.Reflection;

namespace <xsl:value-of select="Schema/@DataEntityNameSpace" />
{
    
    public class <xsl:value-of select="Schema/@TableName" /> : DataEntityBase
    {
        public <xsl:value-of select="Schema/@TableName" />()
        {
            base.InitMetaData();
        }
        <xsl:for-each select="Schema/Columns">
        private <xsl:value-of select="concat(LANGUAGE_TYPE,' _',COLUMN_NAME)" />;
        public <xsl:value-of select="concat(LANGUAGE_TYPE,' ',COLUMN_NAME)" />
        {
            get
            {
                return this._<xsl:value-of select="COLUMN_NAME" />;
            }
            set
            {
                this._<xsl:value-of select="COLUMN_NAME" /> = value;
            }
        }
		</xsl:for-each>
    }
}</xsl:template>
</xsl:stylesheet>